home *** CD-ROM | disk | FTP | other *** search
- Path: EU.net!sun4nl!xs4all!marketgraph!rvg
- From: rvg@marketgraph.xs4all.nl (Ruud van Gaal)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: BUG IN "STATUS" COMMAND FOUND
- Message-ID: <0036mbj60.alamito@marketgraph.xs4all.nl>
- Date: Mon, 5 Feb 96 12:54:00 CET
- References: <4f403j$qpm@jeack.apana.org.au>
- Reply-To: rvg@marketgraph.xs4all.nl
- X-Newsreader: Alamito Mail and News Manager (V2.0.4 for Waffle) registered to MARKETGRAPH VISUAL AUTOMATION
-
- In <4f403j$qpm@jeack.apana.org.au> brett@jeack.apana.org.au (Brett Eden)
- wrote:
-
- >Hi All,
- >
- >I have located a bug in the status command, under workbench 3, and it goes
- like this:
- >
- >7. System:> Status 2147483647
- >
- >Causes the shell from which the command was initiated, to freeze, until a ^C
- is issued.
-
- 0x7FFFFFFF is probably a magical value. No practical problem though.
-
- >7. System:> Status 2147483648
- >
- >Returns an error "Process -2147483648 does not exist" - which, obviously, is
- true, but where did it
- >get the negative sign from?
-
- They use a 'long', which is signed, thus 2147483648=0x80000000, which is <0
- (signed).
-
- >7. System:> Status 2147483649
- >
- >Returns an error "Process -2147483647 does not exist" - which again is true,
- but -2147483647 wasn't
- >the number I entered, was it?
-
- It is in 'long' terms.
-
- >7. System:> Status 2147483650
- >
- >Returns an error "Bad number" which indicates to us that 2147483649 is the
- ceiling value.
-
- Some range check.
-
- >I know this bug plays no trouble in the workings of the system, but it's a
- bug nonetheless, and will give Escom/AmiTech something to do =)
-
- Let's give them time to do actual important stuff. For example; I believe
- that OS3.1 can't show the size of 4.2Gb HD's correctly (not even talking
- about 9 or 16Gb); since a ulong can't handle more than about 4.28 billion. If
- only my bank used long's!)
-
- BTW Status also doesn't work during a powerfailure. (in other words, what are
- we talking about).
-
- --
- Ruud van Gaal
- MarketGraph Visual Automation
- E-Mail : rvg@marketgraph.xs4all.nl
- DoomShell 4.5 homepage: http://www.xs4all.nl/~jwkorver
- "...Works fascinates me. I could sit and watch it for hours..."
-
-